const db=uniCloud.database()
exports.main = async (event, context) => {
	let {id,num}=event
	return await db.collection('article').doc(id).update({
		num:num
	})
}